package com.zm.demo.shoppingmall.order.enums;

/**
 * @desc:
 * @author: z01140
 * @date: 2021/5/25 16:35
 */
public enum  OrderStatusEnum {

    NO_DEAL(0, "未处理"),
    PAYING(1, "付款中"),
    PAYED(2, "已付款"),
    SENDED(3, "已发货"),
    RECEIVED(4, "已收货"),
    RETURNING_GOODS(5, "退货中"),
    RETURNED(6, "已退款"),
    PAY_TIMEOUT(7, "超时未付款"),
        ;

    private int code;
    private String desc;

    OrderStatusEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
